<template>
  <div id="repmessage">
    <div class="per">
      <div class="message">
        <div class="tou"></div>
        <div class="name">曲飞</div>
      </div>
    </div>
    <div class="detail">
      <!-- 扫码补货和射频卡补货信息 -->
      <div v-if="false">
        <div class="pub">
          <div class="cont">
            <p>账号</p>
            <span>958264</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>密码</p>
            <span>QF952874</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>补货方式</p>
            <span>扫码补货和射频卡补货</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>射频卡</p>
          </div>
          <div class="tu">
            <img src="../../../assets/tian1.png" alt="">
            <span>984612348451574741</span>
          </div>
        </div>
      </div>
      <!-- 扫码补货 -->
      <div v-if="false">
        <div class="pub">
          <div class="cont">
            <p>账号</p>
            <span>QF952874</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>密码</p>
            <span>958264</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>补货方式</p>
            <span>扫码补货</span>
          </div>
        </div>
      </div>
      <!-- 审核中 -->
      <div>
        <div class="pub">
          <div class="cont">
            <p>账号</p>
            <span>958264</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>密码</p>
            <span>QF952874</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>补货方式</p>
            <span>扫码补货和射频卡补货</span>
          </div>
          <div class="xx"></div>
        </div>
        <div class="pub">
          <div class="cont">
            <p>射频卡</p>
            <div class="shenhe">审核中...</div>
          </div>
          <div class="tu">
            <img src="../../../assets/tian1.png" alt="">
            <span></span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Repmessage',
  mounted () {
    document.getElementsByClassName('tou')[0].innerText = document.getElementsByClassName('name')[0].innerText.slice(0, 1)
  },
  created () {
    document.title = '补货员信息'
  }
}
</script>

<style lang='scss' scoped>
#repmessage{
  width: 100%;
  height: 100%;
  .per{
    height: 44.8vw;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    .message{
      height: 23.5vw;
      width: 13.06vw;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      .tou{
        width: 13.06vw;
        height: 13.06vw;
        background:rgba(39,81,255,1);
        border-radius: 7vw;
        text-align: center;
        line-height: 13.06vw;
        font-size: 5.33vw;
        font-family:SourceHanSansCN-Regular;
        font-weight:400;
        color:rgba(255,255,255,1);
      }
      .name{
        font-size: 5.06vw;
        font-family:SourceHanSansCN-Bold;
        font-weight:bold;
        color:rgba(22,22,22,1);
      }
    }
  }
  .detail{
    background-color: #fff;
    margin-top: 4vw;
    .pub{
      height: 14.66vw;
      position: relative;
      .cont{
        height: 100%;
        padding: 0 3.46vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        p{
          font-size: 4.53vw;
          font-family:SourceHanSansCN-Regular;
          font-weight:400;
          color:rgba(22,22,22,1);
        }
        span{
          font-size: 3.73vw;
          font-family:SourceHanSansCN-Regular;
          font-weight:400;
          color:rgba(168,168,168,1);
        }
        .shenhe{
          font-size: 3.73vw;
          font-family:SourceHanSansCN-Regular;
          font-weight:400;
          color:rgba(255,137,0,1);
        }
      }
      .xx{
        width: 96.5%;
        height: 1px;
        background-color: #eee;
        position: absolute;
        bottom: 0;
        right: 0;
      }
      .tu{
        height: 21.06vw;
        background-color: #fff;
        padding: 4vw 3.46vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        img{
          width: 13.06vw;
          height: 13.06vw;
        }
        span{
          font-size: 3.73vw;
          font-family:SourceHanSansCN-Regular;
          font-weight:400;
          color:rgba(168,168,168,1);
        }
      }
    }
  }
}
</style>
